<?php

/**
 * 基类
 *
 * @package    01CMS
 * @subpackage system
 * @author     rolong at vip.qq.com
 * @version    1.0.0
 * @link       http://www.01cms.com
 */

class Base
{
    private static $instance;

    protected function __construct ()
    {
        self::$instance = & $this;
    }

    public static function &i ()
    {
        return self::$instance;
    }
}